package com.sunxu.exercise6;

/**
 * ${DESCRIPTION}
 *
 * @author Sun
 * @create 2017-08-02-13:09
 */
public class MyThread5 extends Thread {
    private long i = 0;

    public long getI() {
        return i;
    }

    public void setI(long i) {
        this.i = i;
    }

    @Override
    public void run() {
        while (true) {
            i++;
        }
    }
}
